home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
gauge
/
vuguage
/
form1.frm
< prev
next >
Wrap
Text File
|
1996-01-07
|
2KB
|
78 lines
VERSION 4.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 4140
ClientLeft = 1710
ClientTop = 1530
ClientWidth = 6690
Height = 4545
Left = 1650
LinkTopic = "Form1"
ScaleHeight = 4140
ScaleWidth = 6690
Top = 1185
Width = 6810
Begin VB.HScrollBar HScroll1
Height = 255
Left = 480
Max = 100
TabIndex = 1
Top = 2040
Value = 50
Width = 1695
End
Begin VuguageLib.Vuguage Vuguage1
Height = 1575
Left = 480
TabIndex = 0
Top = 360
Width = 1575
_version = 65536
_extentx = 2778
_extenty = 2778
_stockprops = 1
bordercolor = 0
min = 0
max = 100
pos = 50
outerbevel = 1
innerbevel = 0
outerbevelwidth = 4
innerbevelwidth = 3
borderwidth = 3
shadowcolor = 8421504
hilitecolor = 16777215
highalarmcolor = 255
lowalarmcolor = 65280
highalarm = 75
lowalarm = 15
orientation = 3
facecolor = 12632256
tickmarks = 5
tickcolor = 0
End
End
Attribute VB_Name = "Form1"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Private Sub HScroll1_Change()
Vuguage1.Pos = HScroll1.Value
End Sub
Private Sub HScroll1_Scroll()
Vuguage1.Pos = HScroll1.Value
End Sub
Private Sub Vuguage1_Alarm(Alarm As Integer)
If Alarm = 1 Then
MsgBox "Low Alarm"
End If
If Alarm = 2 Then
MsgBox "High Alarm"
End If
End Sub